﻿/// <reference path="jquery-1.4.1.js" />

function loadBox(boxId, url) {
    $(boxId)
            .addClass('loading')
            .load(url, {}, function () {
                $(boxId).removeClass('loading');
            });
}

function updateableBox(boxId, url) {
    $(boxId)
            .addClass('loading')
            .load(url, {}, function () {
                $(boxId).removeClass('loading');
            });            
}